package hao.d0313;

public class Person {
    protected String name;
    protected String address;
    protected String sex;
    protected int age;

    public Person(){

    }

    public void Person(String name,String address,String sex,int age){
        this.name=name;
        this.address=address;
        this.sex=sex;
        this.age=age;
    }

    void Output(){
        System.out.println("姓名:"+this.name);
        System.out.println("地址:"+this.address);
        System.out.println("性别:"+this.sex);
        System.out.println("年龄:"+this.age);
    }

    public static void main(String[] args) {
        Student student = new Student("WANG","吉林省","女",21,98,99);
        student.Output();
    }
}
